package com.ruoyi.orderEat.domain;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class OrderInfoVO implements Serializable {

    /** 订单ID */
    private Long orderId;

    /** 店铺名称 */
    private String barbecueShopName;

    /** 购买数量 */
    private Integer shopCount;

    /** 购买金额 */
    private BigDecimal orderAmount;

    /** 订单商品明细 */
    private List<ShopCart> shopCartList;

    /** 餐桌号 */
    private Integer tableId;

    /** 用餐人数 */
    private Integer dinerNum;

    /** 订单编号 */
    private String orderNumber;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;


    public String getBarbecueShopName() {
        return barbecueShopName;
    }

    public void setBarbecueShopName(String barbecueShopName) {
        this.barbecueShopName = barbecueShopName;
    }

    public Integer getShopCount() {
        return shopCount;
    }

    public void setShopCount(Integer shopCount) {
        this.shopCount = shopCount;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public List<ShopCart> getShopCartList() {
        return shopCartList;
    }

    public void setShopCartList(List<ShopCart> shopCartList) {
        this.shopCartList = shopCartList;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public Integer getDinerNum() {
        return dinerNum;
    }

    public void setDinerNum(Integer dinerNum) {
        this.dinerNum = dinerNum;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "OrderInfoVO{" +
                "barbecueShopName='" + barbecueShopName + '\'' +
                ", shopCount=" + shopCount +
                ", orderAmount=" + orderAmount +
                ", shopCartList=" + shopCartList +
                ", tableId=" + tableId +
                ", dinerNum=" + dinerNum +
                ", orderNumber='" + orderNumber + '\'' +
                ", orderTime=" + orderTime +
                '}';
    }
}
